<!DOCTYPE html>
<html>
	<head>
		<title></title>
		<script src="../JS/jquery.js"></script>
	</head>
	<body>
		<ul id="test-ul">
			<li class="js">JavaScript</li>
			<li name="book">Java &amp;JavaScript</li>
		</ul>
		&lt;span id=&quot;Mycode&quot;&gt;&#20320;&#20204;&#22909;&lt;/span&gt;
	</body>
	<script>
		var Text = $("#test-ul li[name=book]").text();
		alert(Text);
		$("#Mycode").qrcode({ 
	    render: "table", //table方式 
	    height:200,
		width:200,
	    text: "shenyiguang" //任意内容 
	});
	</script>
</html>